package org.nf.ssm.dao;

import org.apache.ibatis.annotations.Param;
import org.nf.ssm.domain.Admin;

import java.util.List;

/**
 * @author zhu
 * @date 2024-10-14
 */
public interface AdminDao {

    Admin login(Admin admin);

    List<Admin> getAllAdmin(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize);

    void addAdmin(Admin admin);

    void updateAdmin(Admin admin);

    void deleteAdmin(Integer adminId);
}
